<?php
namespace Admin\Model;
use Think\Model\ViewModel;
/**
 * 活动报名视图
 * @author xx
 */
class ActivityInstrumentListViewModel extends ViewModel{
    
     public $viewFields = array(
      'activity_instrument'=>array('id','aid','instrumentid'),
	  'activity'=>array('theme','title','type','atime','aetime','address','content','shareurl','acturl','status','_on'=>'activity_instrument.aid=activity.id'),
	  'instruments'=>array('imgurl','name','titlename','_on'=>'activity_instrument.instrumentid=instruments.id'),
	);
	
}